//
//  TeacherLeftView.h
//  SanYiTeaching
//
//  Created by 李文强 on 2019/4/8.
//  Copyright © 2019 李文强. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TeacherLeftDelegate <NSObject>

@optional
- (void)mineClick:(int)index;
@end

NS_ASSUME_NONNULL_BEGIN

@interface TeacherLeftView : UIView
@property (nonatomic, strong) UIButton *openButton;
@property (nonatomic, assign) id<TeacherLeftDelegate>delegate;
@property (nonatomic, strong) NSMutableArray *buttonArray;
@property (nonatomic, strong) NSMutableArray *imageArray;
- (void)reloadLayout:(BOOL)status;
- (instancetype)initWithFrame:(CGRect)frame andButtonView:(NSArray *)array andImageArray:(NSArray *)imageArray;
- (void)selectedButton:(int)index;
@end

NS_ASSUME_NONNULL_END
